<script type="text/javascript">
    function cartSum(){
        $.get('/cart/cartsum',{'sek':'<?=$sek?>','type':'<?=I("get.oem")?2:1;?>'},function(data){
            if(data.code == 1){
                $('#cartSum').css('display','block');
                $('#cartSum').html(data.data);
            }else{
                $('#cartSum').css('display','none');
            }
        },'json');
    }
</script>
</body>
</html>